import request from "../utils/request";

enum Api {
  getNewCDUrl = "/getNewDisks",
  getNewCDImageApi = "/getImageUrl",
}
export const getNewCDApi = () => {
  return request.get<any, any>(Api.getNewCDUrl);
};

export const getNewCDImageApi = (id: number) => {
  return request.get<any, any>(Api.getNewCDImageApi + `?id=${id}`);
};
